package com.infosystem.demo.models;

import com.infosystem.demo.entities.Relative;

public class RelativeDTOO {
    private String id;
    // private String employee_id;
    private String name;
    private String jobTitle;
    private String politicalTitle;
    private String type;

    public RelativeDTOO() {
    }

    public RelativeDTOO(Relative relative){
        this.id = relative.getId();
        // this.employee_id = relative.getEmployee_id();
        this.name = relative.getName();
        this.jobTitle = relative.getJobTitle();
        this.politicalTitle = relative.getPoliticalTitle();
        this.type = relative.getType();
    }

    public RelativeDTOO(String id, String name, String jobTitle, String politicalTitle, String type) {
        this.id = id;
        // this.employee_id = employeeId;
        this.name = name;
        this.jobTitle = jobTitle;
        this.politicalTitle = politicalTitle;
        this.type = type;
    }

    public String getId() {return id;}
    public void setId(String id) {this.id = id;}

    // public String getEmployee_id() {return employee_id;}
    // public void setEmployee_id(String employee_id) {this.employee_id = employee_id;}

    public String getName() {return name;}
    public void setName(String name) {this.name = name;}

    public String getJobTitle() {return jobTitle;}
    public void setJobTitle(String jobTitle) {this.jobTitle = jobTitle;}

    public String getPoliticalTitle() {return politicalTitle;}
    public void setPoliticalTitle(String politicalTitle) {this.politicalTitle = politicalTitle;}

    public String getType() {return type;}
    public void setType(String type) {this.type = type;}
}